package com.youjia.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Data
@Accessors(chain = true)
@TableName("order_item")
public class OrderItem extends BasePojo{
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer productId;
    private Integer orderId;
    private String itemTitle;
    private Integer num;
    private BigDecimal price;
}
